 install -Dm444 bin/vpnserver/hamcore.se2 "${PKG}"/usr/lib/softethervpn/hamcore.se2
  install -d "${PKG}"/usr/bin

  for inst in vpnclient vpnserver vpnbridge vpncmd; do
    install -Dm755 bin/${inst}/${inst} "${PKG}"/usr/lib/softethervpn/${inst}/${inst}
    ln -s /usr/lib/softethervpn/hamcore.se2 "${PKG}"/usr/lib/softethervpn/${inst}/hamcore.se2
    echo "#!/bin/sh" > "${PKG}"/usr/bin/${inst}
    echo /usr/lib/softethervpn/${inst}/${inst} '"$@"' >> "${PKG}"/usr/bin/${inst}
    echo 'exit $?' >> "${pkgdir}"/usr/bin/${inst}
    chmod 755 "${PKG}"/usr/bin/${inst}
  done